#pragma once
// MessageClassDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMessageClassDlg dialog

class CMessageClassDlg : public CDialogEx
{
public:
enum
{
	MIDDLEBTN = 0,
	LEFTBTN,
	RIGHTBTN
};
	
// Construction

	CMessageClassDlg(CWnd* pParent = NULL);   // standard constructor
	void SetIconExclamation();
	void SetTitleText(CString *str);
	void SetTitleText(char *str);
	void EnableOKButton(BOOL ok);
	void SetText(CString* str);
	void SetText(char *str);
	void SetShow(BOOL donotshow);
	void SetIconStopSign();
	void SetIconQuestionMark();
	void SetDoNotShow(BOOL show);
	void SetLeftText(char *str) ;
	void SetLeftText(CString *str); 
	void SetRightText(char *str);
	void SetRightText(CString *str);
	void SetMiddleText(char *str) ;
	void SetMiddleText(CString *str); 


	BOOL GetShow();
	int CMessageClass(CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(CMessageClassDlg)
	enum { IDD = IDD_MESSAGECLASSDLG };
	CStatic	m_mcicon;
	BOOL	m_DoNotShow;
	CString	m_Text;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMessageClassDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMessageClassDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnNobutton();
	afx_msg void OnDonotshow();
	afx_msg void OnNo();
	afx_msg void OnYes();	
	afx_msg void OnBnKillfocusDonotshow();
	afx_msg void OnBnClickedDonotshow();
	afx_msg void OnBnClickedOk();
//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString cTitleStr, cYesText, cNoText, cOKText;
	BOOL EnableOK, bDoNotShow;
	int iIcon;

	};

